.nav-bar-bg {
  background-color: transparent !important;
}
.nav-title {
  color: #fff !important;
}

.container {
  .header-img {
    position: absolute;
    width: 750rpx;
    height: 422rpx;
    top: 0;
    z-index: -999;
    // margin-top: -90rpx;
  }
  .main-box {
    margin-top: 204rpx;
    padding: 14rpx 40rpx;
    width: 750rpx;
    min-height: 100vh;
    padding-bottom: calc(100rpx + constant(safe-area-inset-bottom));
    padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
    background: #ffffff;
    border-radius: 24rpx 24rpx 0rpx 0rpx;
    opacity: 1;
    box-sizing: border-box;
    .detail {
      position: relative;
      padding-bottom: 32rpx;
      border-bottom: 1px solid rgba(217, 217, 217, 0.5);
      .img {
        position: absolute;
        top: -140rpx;
      }
      .info {
        margin-left: 222rpx;
        width: 448rpx;
        .title {
          font-size: 28rpx;
          font-family: PingFang SC-Medium, PingFang SC;
          font-weight: 500;
          color: #0b181e;
          line-height: 40rpx;
        }
        .time {
          margin-top: 6rpx;
          font-size: 24rpx;
          font-family: PingFang SC-Medium, PingFang SC;
          font-weight: 500;
          color: #9f3b24;
          line-height: 28rpx;
        }
      }
    }
    .address-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 40rpx;
      padding-bottom: 38rpx;
      border-bottom: 1px solid rgba(217, 217, 217, 0.5);
      .address {
        font-size: 28rpx;
        font-family: PingFang SC-Regular, PingFang SC;
        font-weight: 400;
        color: rgba(11, 24, 30, 0.75);
        .address-detail {
          font-size: 32rpx;
          font-family: PingFang SC-Medium, PingFang SC;
          font-weight: 500;
          color: #0b181e;
        }
      }
      .position-icon {
        display: flex;
        flex-direction: column;
        align-items: center;

        .distance {
          font-size: 20rpx;
          font-family: PingFang SC-Regular, PingFang SC;
          font-weight: 400;
          color: rgba(11, 24, 30, 0.75);
        }
      }
    }
    .banner-box {
      margin-top: 40rpx;
      padding-bottom: 38rpx;
      border-bottom: 1px solid rgba(217, 217, 217, 0.5);
      .content {
        position: relative;
        padding-top: 36rpx;
        padding-left: 32rpx;
        width: 670rpx;
        height: 176rpx;
        background: linear-gradient(
          90deg,
          rgba(159, 59, 36, 0.73) 0%,
          rgba(255, 255, 255, 0.41) 100%
        );
        border-radius: 8rpx;
        box-sizing: border-box;
        .img {
          position: absolute;
          right: 22rpx;
          top: 0;
        }
        .text1 {
          font-size: 28rpx;
          font-family: PingFang SC-Medium, PingFang SC;
          font-weight: 500;
          color: #ffffff;
        }
        .text2 {
          display: flex;
          align-items: center;
          margin-top: 20rpx;
          font-size: 36rpx;
          font-family: PingFang SC-Medium, PingFang SC;
          font-weight: 500;
          color: #ffffff;
          .right-icon {
            position: relative;
            bottom: -8rpx;
            left: 16rpx;
          }
        }
      }
    }
    .title-box {
      display: flex;
      align-items: center;
      margin-top: 80rpx;
      margin-bottom: 40rpx;
      .icon {
        width: 6rpx;
        height: 30rpx;
        background: #9f3b24;
      }
      .title {
        margin-left: 12rpx;
        font-size: 32rpx;
        font-family: PingFang SC-Medium, PingFang SC;
        font-weight: 500;
        color: #0b181e;
      }
    }
    .activity-content {
      font-size: 28rpx;
      font-family: PingFang SC-Regular, PingFang SC;
      font-weight: 400;
      color: rgba(11, 24, 30, 0.75);
      .activity-text {
        font-size: 24rpx;
        font-family: PingFang SC-Regular, PingFang SC;
        font-weight: 400;
        color: rgba(11, 24, 30, 0.75);
      }
      .item {
        margin-bottom: 10rpx;
      }
    }
    .person-list {
      .person-item {
        margin-bottom: 20rpx;
        .person-name {
          font-size: 28rpx;
          font-family: PingFang SC-Regular, PingFang SC;
          font-weight: 400;
          color: rgba(11, 24, 30, 0.75);
        }
        .person-desc {
          margin-top: 12rpx;
          font-size: 24rpx;
          font-family: PingFang SC-Regular, PingFang SC;
          font-weight: 400;
          color: rgba(11, 24, 30, 0.75);
        }
      }
    }
    .rule-list {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      padding-bottom: 80rpx;
      border-bottom: 1px solid rgba(217, 217, 217, 0.5);

      .rule-item {
        margin-bottom: 20rpx;
        width: 50%;
        .rule-title {
          font-size: 28rpx;
          font-family: PingFang SC-Regular, PingFang SC;
          font-weight: 400;
          color: rgba(11, 24, 30, 0.75);
        }
        .rule-desc {
          font-size: 20rpx;
          font-family: PingFang SC-Regular, PingFang SC;
          font-weight: 400;
          color: #5c5c5c;
        }
      }
    }
  }

  .action-box {
    display: flex;
    justify-content: space-between;
    position: fixed;
    padding: 14rpx 40rpx;
    bottom: 0;
    width: 750rpx;
    height: calc(120rpx + constant(safe-area-inset-bottom) / 2);
    height: calc(120rpx + env(safe-area-inset-bottom) / 2);
    background: #ffffff;
    box-shadow: 4rpx 0rpx 20rpx 2rpx rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    .actions {
      display: flex;
      .item {
        position: relative;
        bottom: -4rpx;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 28rpx;
        box-sizing: border-box;
        text {
          font-size: 20rpx;
          font-family: PingFang SC-Medium, PingFang SC;
          font-weight: 500;
          color: #5c5c5c;
        }
      }
    }
    .buy-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 448rpx;
      height: 74rpx;
      background: #9f3b24;
      border-radius: 40rpx;

      font-size: 36rpx;
      font-family: PingFang SC-Medium, PingFang SC;
      font-weight: 500;
      color: #ffffff;
    }
  }
}
